home *** CD-ROM | disk | FTP | other *** search
- This program is a simple viewer for Windows Bitmap, Windows Icon,
- Z-Soft PCX, and CompueServe GIF images. The color table for the
- bitmaps can be edited, and the images can also be printed. The source
- code is provided to show how all of this has been done. The code also
- shows how to modify the Windows 3.1 Common Dialogs look, and extending
- them with additional functionality. To run this program, you also need
- the Windows 3.1 COMMDLG.DLL and Borland's BWCC.DLL (part of Borland
- C++, Turbo Pascal for Windows, and other Borland products like Paradox
- for Windows).
-
- If you have any questions on this code, suggestions for improvement, or
- just to tell me you found it useful, you can contact me through my
- CompuServe account number 70253,3461.
-
- For further image processing information, I would suggest checking out
- Martin Heller's Advanced Windows Programming book, which provided the
- basis for my PCX and GIF file loading code.
-
- As a final note, I have tried to make this code as problem free as
- possible, but I make no guaranttees. Use at your own risk.
-
- Larry Widing
-
- Files in this Archive
- =====================
- readme.doc This file
- bitmaps.exe Executable version of image viewer
- bwcc.dll Borland Custom Control DLL
-
- Source Files
- ------------
- bitmaps.mak Makefile for image viewer (Borland C++ Version 3.1)
- bitmaps.c Main source module
- bitmaps.h
- bmfile.c Bitmap file reading/writing routines
- bmfile.h
- bminfo.c Bitmap information display routines
- bminfo.h
- bmmanip.c Bitmap manipulation routines
- bmmanip.h
- colors.c Color table editing functions
- colors.h
- gif.c CompuServe GIF image reading rountines
- gif.h
- icnfile.c Windows Icon reading routines
- icnfile.h
- openfile.c Common Dialog Open File and Save File hooks
- openfile.h
- pcx.c Z-Soft PCX file reading routines
- pcx.h
- print.c Simple image printing functions
- print.h
- bitmaps.def Image viewer DEF file
- bitmaps.rc Image viewer resource file
- about.dlg About box dialog template
- colors.dlg Color table editing dialog template
- fileopen.dlg File Open dialog template
- prsetup.dlg Printer Setup dialog template
- graying.bmp dithered bitmap for dialog pattern brush
- help.bmp Help push button images
- helpdown.bmp
- helpfocu.bmp
- option.bmp Option push button images
- optiondo.bmp
- optionfo.bmp
- setup.bmp Setup push button images
- setupdow.bmp
- setupfoc.bmp
- bitmaps.ico Image viewer icon
-
- Test Images
- -----------
- os2.bmp
- rle4.bmp
- 100.pcx
- 100x100.pcx
- test.pcx
- test1.pcx
- test2.pcx
-